<?php
if (!empty ($this->arrMenuVideoEuro) && !empty ($this->arrMenuVideoEuro['child']))
{
?>
    <div class="menu_video_left">
        <ul>
            <li class="menu_top">Tất cả video</li>
            <?php
            if( isset($this->arrMenuVideoEuro["child"]) && !empty ($this->arrMenuVideoEuro["child"]))
            {
                foreach ($this->arrMenuVideoEuro["child"] as $cate)
                {
                    $class = ($cate["category_id"] === $this->videoDetail["category_id"])?"active":"";
                ?>

                <li class="menu_cap1<?php echo $class; ?>" id="menu_<?php echo $cate["category_id"];?>"><a href="javascript:" onclick="return loadvideolist(1,'<?php echo $cate["category_id"];?>');" title="<?php echo $cate["catename"];?>"><?php echo $cate["catename"];?></a></li>
                <?php
                if ( isset($cate["child"]) && !empty ( $cate["child"] ) )
                {
                    foreach ( $cate["child"] as $value )
                    {
                        $class = ($value["category_id"] === $this->videoDetail["category_id"])?"active":"";
                        ?>
                        <li class="<?php echo $class; ?>" id="menu_<?php echo $value["category_id"];?>"><a href="javascript:" onclick="return loadvideolist(1,'<?php echo $value["category_id"];?>');"><span class="icon_portal_thethao icon_arrow_4x5">&nbsp;</span><?php echo $value["catename"];?></a></li>
                    <?php
                    } //end foreach
                } // endif
            ?>
            <?php } 
            
            }?>

            
        </ul>
    </div>

<?php
}
?>

